package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrderSettingService extends IService<OrderSetting> {

    public boolean importData(List<String[]> list);

    public OrderSetting findByDate(String orderDate);

    Map<String, Map<String,Integer>> selectDataByMonth(int year, int month);

    /**
     * @param day 具体预约日期
     * @param num 可预约总数
     * */
    boolean daySetting(String day, Integer num);
}
